home *** CD-ROM | disk | FTP | other *** search
Text File | 1991-03-06 | 1.5 KB | 32 lines | [TEXT/GEOL] |
- Item forwarded by A33 to A34
-
- Item 3277236 17-April-90 13:27PDT
-
- From: PILLAR.CORP Pillar, Chris Ovard,PRT
-
- To: SATORI Satori SW, Hugh Rogovy,PRT
-
- cc: MACAPP.TECH$ MacApp Technical
-
- Sub: RE: how to print w/ normal...
-
- If you want to set the minimal margins you need to call InstallMargins with
- true for the second parameter. This then sets fMinimalMargins for you, you
- don't change fMinimalMargins directly. What you will get is an interior equal
- to the largest printable area the current printer will support.
-
- If you want to set the margins to some other value, say 2 inches, you need
- convert your margins into pixels and then call InstallMargins (with the second
- parameter false). My code does this in an override of CalcViewPerPage but you
- could do it any number of places. In order to convert your margin
- specifications from inches to pixels you need to multiple the inches by the
- values in fMarginRes. This will get you "true" margins regardless of the value
- of the percent reduction/enlargment in the LaserWriter's page setup dialog. If
- you want your margins to vary along with the percent reduction/enlargment then
- multiple your inch specifications by fDeviceRes (a field of TPrintHandler).
-
- As far as why the MacApp team chose 1 inch for the default margins I would
- guess it has something to do with that being a very common choice for margins
- (at least in the US).
-
-